hysop.mesh.mesh module

topology.py defines topology abstract interfaces for topologies.

:class:`~hysop.mes.mesh.Mesh :class:`~hysop.mes.mesh.MeshView

See also

class hysop.mesh.mesh.Mesh(topology, **kwds)[source]

Bases: TaggedObject

Abstract base class for local to process meshes.

Initialize a mesh.

property topology

Return a topology view on the original topology that defined this mesh.

abstract view(topology_state)[source]

Return a view on this mesh using a topology state.

class hysop.mesh.mesh.MeshView(mesh, topology_state, **kwds)[source]

Bases: TaggedObjectView

Abstract base class for views on meshes.

Initialize a MeshView.

__str__()[source]

Equivalent to self.long_description()

property dim

Return the dimension of the domain.

abstract long_description()[source]

Long description of this mesh.

property mesh

Return the original mesh on which the view is.

abstract short_description()[source]

Short description of this mesh.

property topology_state

Return the topology state